home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ Real Networks 1.xpl
< prev
next >
Wrap
Text File
|
2000-08-07
|
2KB
|
102 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="4"
"UIPATH"="Internet\Real Networks\"
"NAME"="Real Player Preferences"
"VERSION"="1.03"
"LANGUAGE"="VBScript"
"TEXT 1"="Real Network Cookies"
"TEXT 2"="Real Networks Statistics"
"TEXT 3"="Real Networks GUID"
"TEXT 4"="Real Networks Channel Updates"
"DESCRIPTION 1"="Checking Box enables Real Networks Cookies. Unchecking box disables Cookies."
"DESCRIPTION 2"="Checking Box enables sending statistics to Real Networks. Unchecking box disables sending Statistics."
"DESCRIPTION 3"="Checking Box enables tracking usage. Unchecking box disables tracking usage."
"DESCRIPTION 4"="Checking Box enables the automatic Channel Updates in RealPlayer. Unchecking box disables automatic Channel Updates."
"AUTHOR"="Ojatex@aol.com"
"CONTACTURL"="http://members.aol.com/ojatex/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="If you must have noise, hum."
sP="HKCR\Software\RealNetworks\RealMediaSDK\6.0\Preferences\CookiesEnabled\"
sp1="HKCR\Software\RealNetworks\RealMediaSDK\6.0\Preferences\SendStatistics\"
sp2="HKCR\Software\RealNetworks\RealMediaSDK\6.0\Preferences\AllowAuthID\"
sp3="HKCR\Software\RealNetworks\RealPlayer\6.0\Preferences\EnableChannelsUpdates\"
sV2="@"
Sub Plugin_Initialize
if RegPathExists(sp) then
i=RegReadValue(sp & sv2)
if i=1 then SetUIElement 1,true
end if
if RegPathExists(sp1) then
i=RegReadValue(sp1 & sv2)
if i=1 then SetUIElement 2,true
end if
if RegPathExists(sp2) then
i=RegReadValue(sp2 & sv2)
if i=1 then SetUIElement 3,true
end if
if RegPathExists(sp3) then
i=RegReadValue(sp3 & sv2)
if i=1 then SetUIElement 4,true
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sp & sv2,"1",1)
else
Call RegWriteValue(sp & sv2,"0",1)
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue(sp1 & sv2,"1",1)
else
Call RegWriteValue(sp1 & sv2,"0",1)
end if
b=GetUIElement(3)
if b=true then
Call RegWriteValue(sp2 & sv2,"1",1)
else
Call RegWriteValue(sp2 & sv2,"0",1)
end if
b=GetUIElement(4)
if b=true then
Call RegWriteValue(sp3 & sv2,"1",1)
else
Call RegWriteValue(sp3 & sv2,"0",1)
end if
End Sub
Sub Plugin_Terminate
End Sub